package com.wjw;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 2 * @Author: 小王同学
 * 3 * @Date: 2020/12/20 15:11
 * 4
 */
@SpringBootApplication
@MapperScan(basePackages = "com.wjw.mapper")
// 扫描所有包以及相关组件包
@ComponentScan(basePackages = {"com.wjw", "org.n3r.idworker"})
@EnableScheduling
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
